---
title: "Primes a scenario such that when an options request is made, no response is received."
method: POST
path: "/prime/{clusterId}#(fail heartbeats, options request with no response)"
tags: ["prime"]
---

# Primes a scenario such that when an options request is made, no response is received.

`POST /prime/{clusterId}#(fail heartbeats, options request with no response)`

## Path parameters

- `clusterId` string, required

## Request body

- PrimeOptions
  - `when` Options, required
    - `request` string
  - `then` Then
    - `result` string, required
    - `delay_in_ms` integer, required — Adds delay to send response back to client.
    - `ignore_on_prepare` boolean — Whether or not this result be applied to a matching prepare statement. If not specified, defaults to true (does not apply) and applies to the execution of statements tied to that prepared statement.

## Response `201`

PrimedQuery

- PrimeOptions
  - `when` Options, required
    - `request` string
  - `then` Then
    - `result` string, required
    - `delay_in_ms` integer, required — Adds delay to send response back to client.
    - `ignore_on_prepare` boolean — Whether or not this result be applied to a matching prepare statement. If not specified, defaults to true (does not apply) and applies to the execution of statements tied to that prepared statement.

## Other responses

- `400` — Unable to parse provided query

---

[API](https://skmtc.net/datastax/apis/simulacron-rest-api.md) · [All operations](https://skmtc.net/datastax/apis/simulacron-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datastax/simulacron-rest-api/revisions/0a5cd5c466d5/schema)
